package com.wlsk.license.dto.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

@Data
public class OpenOrderPlateInfoReqDto {

    @NotNull(message = "渠道业务ID不能为空")
    @Size(min = 1, message = "渠道业务ID不能为空")
    @ApiModelProperty(value = "渠道业务ID", required = true)
    private List<String> channelBusinessId;

    @NotEmpty(message = "渠道编号不能为空")
    @ApiModelProperty(value = "渠道编号(运调：YD)", required = true)
    private String channelNumber = "YD";
}
